﻿#ifndef WIDGET_H
#define WIDGET_H

#include <QWidget>
#include <QList>
#include "Animal.h"

QT_BEGIN_NAMESPACE
namespace Ui { class Widget; }
QT_END_NAMESPACE

class Widget : public QWidget
{
    Q_OBJECT

public:
    Widget(QWidget *parent = nullptr);
    ~Widget();

private slots:
    void on_catBtn_clicked();
    void on_dogBtn_clicked();
    void on_animalRegistBtn_clicked();
    void on_shoutCompareBtn_clicked();

    void on_changeBtn_clicked();

private:
    Ui::Widget *ui;
    QList<Animal*> animalList;
};
#endif // WIDGET_H
